{% load static %}
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8" name="viewport" content="width=device-width, initial-scale=1">
    <title>厨具数据可视化系统</title>
    <!-- 引入 Bootstrap CSS 和 ECharts JS -->
    {#    <link rel="stylesheet" href="{% static 'css/bootstrap.min.css' %}">#}
    <link rel="stylesheet" href="{% static 'plugins/bootstrap-3.4.1-dist/css/bootstrap.css' %}">

    <!-- layout2.html -->
    <!-- 其他头部内容 -->
    <link rel="stylesheet" href="{% static 'css/custom.css' %}">
    <script src="{% static 'js/echarts.min.js' %}"></script>
    <script src="{% static 'js/jquery-3.6.0.min.js' %}"></script>
    <script src="{% static 'js/bootstrap.min.js' %}"></script>
    <!-- 自定义 CSS -->
    <style>
        {% block css %}
            {#在这里添加css样式#}
        {% endblock %}
    </style>
</head>
<body>
{#导航栏#}
<nav class="navbar navbar-inverse">
    <div class="container-fluid">
        <!-- Brand and toggle get grouped for better mobile display -->
        {#        系统名称#}
        <div class="navbar-header">
            {#            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse"#}
            {#                    data-target="#bs-example-navbar-collapse-1" aria-expanded="false">#}
            {#                <span class="sr-only">Toggle navigation</span>#}
            {#                <span class="icon-bar"></span>#}
            {#                <span class="icon-bar"></span>#}
            {#                <span class="icon-bar"></span>#}
            {#            </button>#}
            <a class="navbar-brand" href="/system/host">厨具可视化系统</a>
        </div>

        <!-- Collect the nav links, forms, and other content for toggling -->
        <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
            {#            导航#}
            <ul class="nav navbar-nav">
                <li class="active"><a href="/system/data_show">基本数据展示 <span class="sr-only">(current)</span></a>
                </li>
                <li><a href="/system/customize/upload">自定义可视化</a></li>
                <li><a href="/system/work01">商品销售信息</a></li>
                <li><a href="/system/work02">商品种类销售信息</a></li>
                <li><a href="/system/work03">商品品牌销售信息</a></li>
                <li><a href="/system/work04">商品店铺销售信息</a></li>
                {#                添加数据#}
                <li class="dropdown">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true"
                       aria-expanded="false">添加部分数据 <span class="caret"></span></a>
                    <ul class="dropdown-menu">
                        <li><a href="/system/data_show/add?table_choice=product">商品表</a></li>
                        <li><a href="/system/data_show/add?table_choice=sales">销售</a></li>
                        <li><a href="/system/data_show/add?table_choice=category">分类</a></li>
                        {#                        <li role="separator" class="divider">品牌</li>#}
                        <li><a href="/system/data_show/add?table_choice=brand">品牌</a></li>
                        {#                        <li role="separator" class="divider"></li>#}
                        {#                        <li><a href="#">One more separated link</a></li>#}
                    </ul>
                </li>
            </ul>
            {#            用户名#}
            <ul class="nav navbar-nav navbar-right">
                <li class="dropdown">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true"
                       aria-expanded="false">用户:{{ request.session.user_name }}<span class="caret"></span></a>
                    <ul class="dropdown-menu">
                        <li><a href="/system/user_manage/detail">用户名</a></li>
                        <li role="separator" class="divider"></li>
                        <li><a href="/system/logout">退出</a></li>
                    </ul>
                </li>
            </ul>
        </div><!-- /.navbar-collapse -->
    </div><!-- /.container-fluid -->
</nav>

{#页面主题#}
<div class="col-md-9 content">
    {% block content %}
        <!-- 页面内容将在这里插入 -->
    {% endblock %}
</div>


</body>
</html>
